
LUA_PATH=C:\Users\stophin\Source\github\CtoLua\thirdparty\lua
LUA_SRC=${LUA_PATH}\src\lapi.c\
${LUA_PATH}\src\lauxlib.c\
${LUA_PATH}\src\lbaselib.c\
${LUA_PATH}\src\lcode.c\
${LUA_PATH}\src\ldblib.c\
${LUA_PATH}\src\ldebug.c\
${LUA_PATH}\src\ldo.c\
${LUA_PATH}\src\ldump.c\
${LUA_PATH}\src\lfunc.c\
${LUA_PATH}\src\lgc.c\
${LUA_PATH}\src\linit.c\
${LUA_PATH}\src\liolib.c\
${LUA_PATH}\src\llex.c\
${LUA_PATH}\src\lmathlib.c\
${LUA_PATH}\src\lmem.c\
${LUA_PATH}\src\loadlib.c\
${LUA_PATH}\src\lobject.c\
${LUA_PATH}\src\lopcodes.c\
${LUA_PATH}\src\loslib.c\
${LUA_PATH}\src\lparser.c\
${LUA_PATH}\src\lrandom.c\
${LUA_PATH}\src\lstate.c\
${LUA_PATH}\src\lstring.c\
${LUA_PATH}\src\lstrlib.c\
${LUA_PATH}\src\ltable.c\
${LUA_PATH}\src\ltablib.c\
${LUA_PATH}\src\ltm.c\
${LUA_PATH}\src\lundump.c\
${LUA_PATH}\src\lvm.c\
${LUA_PATH}\src\lzio.c\
${LUA_PATH}\src\print.c\
${LUA_PATH}\src\random.c
SRC_FILE=CtoLua.cpp CLuaWrapper.cpp CLua.cpp 
LIB_FOLDER=
LIB_FILE=
INC_FOLDER=-I ${LUA_PATH}\\src
LUA_PATH_LINUX=
SRC_FILE_LINUX=CtoLua.cpp CLuaWrapper.cpp CLua.cpp
LIB_FOLDER_LINUX=
LIB_FILE_LINUX=-llua
INC_FOLDER_LINUX=
RM=rm

all:
	gcc -c ${LUA_SRC}
	g++ -o CtoLua -fpermissive -D_stricmp=stricmp *.o ${SRC_FILE} ${LIB_FOLDER} ${LIB_FILE} ${INC_FOLDER}
	${RM} *.o

clean: 
	${RM} ./CtoLua.exe
	${RM} *.o
	
run:
	./CtoLua.exe
	
	
	
